import {
  HospitalDepartment,
  HospitalDetail,
  UserInfo,
} from "@/api/hospital/type";

// 定义仓库内部存储数据state的ts类型
export interface DetailState {
  hospitalInfo: HospitalDetail;
  hospitalDepartment: HospitalDepartment[];
}

export interface UserState {
  visible: boolean;
  isLogin: boolean;
  userInfo: UserInfo;
}
